//
//  PostViewController.h
//  coldjoke-ios-client
//
//  Created by ColdWorks on 12-9-11.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"
#import "UIPlaceHolderTextView.h"
#import "BaseUIViewController.h"
#import "MWPhotoBrowser.h"

@interface PostViewController : BaseUIViewController <UIActionSheetDelegate,UITextViewDelegate,UINavigationControllerDelegate,UIImagePickerControllerDelegate,IIViewDeckControllerDelegate,MBProgressHUDDelegate,MWPhotoBrowserDelegate>
{
    MBProgressHUD                       *hudLoading;
    IBOutlet UIPlaceHolderTextView      *postView;
    UIButton                            *postBtn;
    
    IBOutlet UIButton                   *showCameraAndPohto;
    NSString                            *actionType;
    NSString                            *filename;
    BOOL                                hasPhoto;
    BOOL                                savePhotosAlbum;
    
    IBOutlet UIImageView    *inputFullLine;
    IBOutlet UIImageView    *previewImage;
    IBOutlet UIView         *photoView;
    UIButton                *deleteMark;
    IBOutlet UIView         *cameraPhotoView;
    IBOutlet UIView         *actionView;
    IBOutlet UIView         *postBgView;
    IBOutlet UIImageView    *realImg;
    IBOutlet UIButton       *rabbitBtn;
    IBOutlet UIButton       *scanBtn;
    NSMutableArray          *browserPhotos;
}

- (IBAction)takeCamera:(id)sender;
- (IBAction)takePhoto:(id)sender;

- (IBAction)camera:(id)sender;
- (IBAction)scanPhotos:(id)sender;
@end